<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="../common/htmlHeader.jsp"%>
<title>Insert title here</title>
</head>
<body>
	<div class="page-header">
		  <h1 class="text-center">欢迎进入测试主页<small>qky</small></h1>
		</div>
		<div class="container-fluid" >
			<div  style=" width:500px;	margin: 0 auto;">
				<ul class="nav nav-tabs nav-justified">
			      <li role="presentation" class="active"><a href="#">附近</a></li>
			      <li role="presentation"><a href="#">热门</a></li>
			      <li role="presentation"><a href="#">自选</a></li>
			    </ul>
			    <c:forEach items="${pageUtil.plist}" var="user">
			    	<div style="display: inline-block;">
						<img src="${user.headImg}" class="square80 img-thumbnail"/>
					</div>
					<div style="display: inline-block;">
						<div>
							<div style="display: inline-block;">
								<p><strong>${user.nickname}</strong></p>
							</div>
							<div style="display: inline-block;">
								<p><strong>${user.selfIntroduce}</strong></p>
							</div>
						</div>
						<div>
							<div style="display: inline-block;">
								<p><strong>16:17</strong></p>
							</div>
							<div style="display: inline-block;">
								<p><strong>首府大厦</strong></p>
							</div>
							<div style="display: inline-block;">
								<p><strong>66次</strong></p>
							</div>
						</div>
					</div>
					<div>
						<p>一起去和汤姆猫玩吧</p>
					</div>
			    </c:forEach>
			</div>
		</div>
	<%@ include file="../common/htmlFooter.jsp"%>
	<script>
	 $(function(){  
		   $.get("http://int.dpool.sina.com.cn/iplookup/iplookup.php","format:js",function(e){$("#data").html(e);});  
		});  
	</script>
</body>
</html>